namespace CShipBasic.AnonymousMethods;

delegate void NumberChanger1(int n);
public class TestAnonymousMethod
{
    public static int num = 10;
    public static void AddNum(int p){
        num += p;
        Console.WriteLine("Named Method: {0}", num);
    }
    public static int getNum(){
        return num;
    }
}